﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Reflection;

namespace OA.Model
{    
    public class SimpleBaseInfo
    {
        public int ID { get; set; }        
    }

    public class BaseInfo
    {
        [Key]
        [Display(Name = "ID")]
        public virtual int ID { get; set; }

        /// <summary>
        /// 创建日期
        /// </summary>
        [Display(Name = "创建日期")]
        public DateTime CreateDateTime { get; set; }

    }

    

    public class SimpleInfo
    {
        public  int ID { get; set; }

        /// <summary>
        /// -1 被删除 0 草稿  1 未审核 2:正在审核中 4 审核不通过 8 已审核
        /// </summary>
        public int Status { get; set; }

    }

    public class SimpleOtherInfo
    {
        public string ID { get; set; }
        
        public string Name { get; set; }

        public string JsonInfo { get; set; }

    }

    public class SimpleEmpInfo
    {
        public string EmpID { get; set; }


        public string Name { get; set; }

        /// <summary>
        /// 部门ID
        /// </summary>
        public int DepartmentID { get; set; }

        public int PositionID { get; set; }

    }
}
